package com.soft.entity;

import org.springframework.stereotype.Component;

@Component
public class CarInfoSearch {

    Integer carId;
    String number;
    Integer teamId;
    String type;
    Integer seatnum;
    Integer busMasterId;
    Integer status;

    public CarInfoSearch() {
    }

    public CarInfoSearch(Integer carId, String number, Integer teamId, String type, Integer seatnum, Integer busMasterId, Integer status) {
        this.carId = carId;
        this.number = number;
        this.teamId = teamId;
        this.type = type;
        this.seatnum = seatnum;
        this.busMasterId = busMasterId;
        this.status = status;
    }

    public Integer getCarId() {
        return carId;
    }

    public void setCarId(Integer carId) {
        this.carId = carId;
    }

    public Integer getTeamId() {
        return teamId;
    }

    public void setTeamId(Integer teamId) {
        this.teamId = teamId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getSeatnum() {
        return seatnum;
    }

    public void setSeatnum(Integer seatnum) {
        this.seatnum = seatnum;
    }

    public Integer getBusMasterId() {
        return busMasterId;
    }

    public void setBusMasterId(Integer busMasterId) {
        this.busMasterId = busMasterId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    @Override
    public String toString() {
        return "CarInfoSearch{" +
                "carId=" + carId +
                ", number='" + number + '\'' +
                ", teamId=" + teamId +
                ", type='" + type + '\'' +
                ", seatnum=" + seatnum +
                ", busMasterId=" + busMasterId +
                ", status=" + status +
                '}';
    }
}
